package org.leo.myannotation;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class MyAnnotationApplication {

    public static void main(String[] args) {
        // 创建Spring容器，运行Spring Boot应用
        var app = SpringApplication.run(MyAnnotationApplication.class, args);
        System.out.println(app.getBean("dateFormat"));
    }

}
